﻿
<!--if (Session.Keys.Count > 0 && Session[EF.Client.Provider.SessionVariable.ROLE].ToString() == EF.Client.Provider.SessionVariable.ADMIN) -->
    @if(Session.Keys.Count > 0 && Session[Strawberry.Provider.SessionVariable.IDUSER].ToString() != "IDUSER"){
    <ul>       
        <li>Bienvenue @Session[Strawberry.Provider.SessionVariable.USERNAME]</li>

        <li>@Html.ActionLink("Déconnexion", MVC.Account.Logoff())</li>


    </ul>
        
    }
    else {
      <ul>       
        <li>@Html.ActionLink("Connexion", MVC.Account.Login())</li>
       </ul>
    }

